<!--
 * @Author: WangGuojian 1085844536@qq.com
 * @Date: 2023-04-13 00:31:10
 * @LastEditTime: 2023-04-13 00:31:18
 * @LastEditors: WangGuojian 1085844536@qq.com
 * @FilePath: \guigu-oa\vue\02-vue实例的生命周期.html
 * @Description:
-->
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
    </head>
    <body>
        <div id="app">{{info}}</div>
        <script src="vue.min.js"></script>
        <script>
            new Vue({
                el: '#app',
                data: {
                    info: 'hello atguigu',
                },
                created() {
                    //渲染前
                    debugger;
                    console.log('created....');
                },
                mounted() {
                    //渲染后
                    debugger;
                    console.log('mounted....');
                },
            });
        </script>
    </body>
</html>
